<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="/carfee/scripts/init_css.js"></script>
<link rel="stylesheet" type="text/css" href="/carfee/plugin/upload/css/uploader.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="/carfee/plugin/upload/css/demo.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="/carfee/plugin/jqueryui/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="/carfee/plugin/datePicker/jquery-ui-timepicker-addon.min.css">

<div id="main-content" class="main-content frame-content" style="display:none">
	<div class="container">
		<div class="panel" id="product_div">
			<div class="panel-title">
				<ul id="menu_ul">
					<li class="active" data-div="info_div">基本信息</li>
					<li data-div="intro_div">新闻页面</li>
				</ul>
			</div>
			<div class="panel-content" id="info_div" style="display:block">
				<div class="form-group">
					<label class="control-label col-1of10">新闻标题</label>
					<div class="col-1of3 col_inp">
						<input type="hidden" data-id="id">
						<input type="hidden" data-id="images">
						<input class="form-control" type="text" data-id="title" validate="required">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-1of10">新闻摘要</label>
					<div class="col-1of3 col_inp">
						<input type="hidden" data-id="id">
						<input type="hidden" data-id="images">
						<input class="form-control" type="text" data-id="summary" validate="required">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-1of10" for="">分类</label>
					<div class="col-1of3 col_inp">
						<select class="form-control" data-id="catalog">
						</select>
					</div>
					<label class="control-label col-1of10" for="">过期时间</label>
					<div class="col-1of3 col_inp">
						<input class="form-control" type="text" data-id="expireTime" readonly data-type=dateAll validate="required">
					</div>
				</div>
				<div class="form-group">
					
					<label class="control-label col-1of10" for="">显示状态</label>
					<div class="col-1of3 col_inp">
						<select class="form-control" data-id="status">
							<option value="1">是</option>
							<option value="0">否</option>
						</select>
					</div>
					<label class="control-label col-1of10" for="">置顶状态</label>
					<div class="col-1of3 col_inp">
						<select class="form-control" data-id="isTop">
							<option value="0">否</option>
							<option value="1">是</option>
						</select>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-1of10" for="">评论状态</label>
					<div class="col-1of3 col_inp">
						<select class="form-control" data-id="isComment">
							<option value="0">是</option>
							<option value="1">否</option>
						</select>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-1of10">列表图片</label>
					<div class="col-1of5 col_inp">
						<input type="hidden" id="previewPicture" data-id="previewPicture" validate="required"/>
						<img style="display:none;width:160px;height:115px"/>
					</div>
					<div class="col-1of12 col_inp">
						<div style="border:0;width:150px;height:auto;padding:0" class="uploader" data-id="drag-and-drop-zone" id="previewPicture_img">
						  <div class="browser">
						    <label>
						      <span>点击上传图片</span>
						      <input type="file" title="点击上传图片" multiple="multiple" accept="image/*" name="files[]" style="width:100%">
						    </label>
						  </div>
						</div>
					</div>
				</div>

				<div class="form-group">
					<label class="control-label col-1of10">轮播状态</label>
					<label class="control-label col-1of10" style="width:130px;font-size: 14px;text-align:left">
						<input type="checkbox" id="homePageChk"/>
					</label>
				</div>

				<div class="form-group" id="homePageDiv" style="display:none">
					<label class="control-label col-1of10">轮播图片</label>
					<div class="col-1of5 col_inp">
						<input type="hidden" id="homePageImage" data-id="homePageImage" />
						<img style="display:none;width:216px;height:116px"/>
					</div>
					<div class="col-1of12 col_inp">
						<div style="border:0;width:150px;height:auto;padding:0" class="uploader" data-id="drag-and-drop-zone" id="homePageImage_img">
						  <div class="browser">
						    <label>
						      <span>点击上传图片</span>
						      <input type="file" title="点击上传图片" multiple="multiple" accept="image/*" name="files[]" style="width:100%">
						    </label>
						  </div>
						</div>
					</div>
				</div>
				
				<div class="form-group">
					<label class="control-label col-1of10">头条状态</label>
					<label class="control-label col-1of10" style="width:130px;font-size: 14px;text-align:left">
						<input type="checkbox" id="headLineChk"/>
					</label>
				</div>
				
				<div class="form-group" id="headLineDiv" style="display:none">
					<label class="control-label col-1of10">头条图片</label>
					<div class="col-1of5 col_inp">
						<input type="hidden" id="headlineImage" data-id="headlineImage" />
						<img style="display:none;width:216px;height:140px"/>
					</div>
					<div class="col-1of12 col_inp">
						<div style="border:0;width:150px;height:auto;padding:0" class="uploader" data-id="drag-and-drop-zone" id="headlineImage_img">
						  <div class="browser">
						    <label>
						      <span>点击上传图片</span>
						      <input type="file" title="点击上传图片" multiple="multiple" accept="image/*" name="files[]" style="width:100%">
						    </label>
						  </div>
						</div>
					</div>
				</div>
			</div>

			<div class="panel-content" id="intro_div">
				<textarea id="content" data-id="content" style="width:1024px;height:500px;"></textarea> 
			</div>

		</div>
		<div class="panel" style="border:0">
			<div class="sidemenu" style="text-align:center;border:0">
				<a class="btn btn-primary" href="#" id="edit">提交</a>
				<a class="btn btn-primary" href="#" id="back">返回</a>
			</div>
		</div>
	</div>
</div>

<!-- 加载 JS 脚本 -->
<script type="text/javascript" src="/carfee/scripts/init_js.js"></script>
<script type="text/javascript" src="/carfee/module/article/edit.js"></script>
<script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/carfee/plugin/upload/dmuploader.js"></script>
<script type="text/javascript" src="/carfee/plugin/jqueryui/jquery-ui.js"></script>
<script type="text/javascript" src="/carfee/plugin/datePicker/jquery-ui-timepicker-addon.min.js"></script>